package com.daasuu.ei;

import com.daasuu.ei.interpolator.Interpolator;

public class EasingInterpolator implements Interpolator {

//    private final Ease ease;
    private Ease ease;

    public EasingInterpolator(Ease ease) {
        this.ease = ease;
    }

    @Override
    public float getInterpolation(float input) {
        return EasingProvider.get(this.ease, input);
    }

    public Ease getEase() {
        return ease;
    }

}
